<template>
  <div class="common-layout">
    <el-container class="layout">
      <Aside />
      <el-container class="r-container">
        <Header />
        <Tag />
        <el-main class="right-main"><router-view></router-view></el-main>
      </el-container>
    </el-container>
  </div>

</template>

<script setup>
import Header from '../views/Header.vue'
import Aside from '../views/Aside.vue'
import Tag from '../views/Tag/Tag.vue'

</script>
<style lang="less" scoped>
.el-container {
  flex-wrap: wrap;
  align-items: flex-start;
  height: 100%;
}

.common-layout {
  .layout {
    flex-wrap: nowrap;
    .r-container {
      .right-main {
        height: calc(100% - 124px) !important;
      }
    }

  }

  height: 100%;

  &>.el-container {
    height: 100%;

    &>.el-aside {
      height: 100%;
    }
  }
}
</style>